#ifndef STOCKREMIND_H
#define STOCKREMIND_H

#include <QWidget>
#include "commodity.h"

class InquireSql;

namespace Ui {
class StockRemind;
}

class StockRemind : public QWidget
{
    Q_OBJECT
    
public:
    explicit StockRemind(QWidget *parent = 0);
    ~StockRemind();
    void displayStockRemind();
    enum attributeValue{Specification, Brand, Color, Unit, Category};
    bool eventFilter(QObject *target, QEvent *event);
    
private:
    void setQtableWidgetHeader();
    void setTableWidgetColor();

    commodityList m_list;

    InquireSql *m_sql;

    Ui::StockRemind *ui;
};

#endif // STOCKREMIND_H
